<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>第二视界</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../static/plugins/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
    <link rel="stylesheet" href="../static/dist/css/login.css">
<!--    <link rel="icon" href="../static/dist/img/logop.png">-->

</head>

<body>

<div class="container">
    <div class="form row">
        <div class="form-horizontal col-md-offset-3 login">
            <h3 class="form-title">登录<img src="../static/dist/img/logo.jpg" alt=""></h3>
            <div class="col-md-9">
                <div class="form-group">
                    <i class="fa fa-user fa-lg"></i>
                    <input class="form-control" type="text" placeholder="用户名" id="user" autofocus="autofocus"
                           maxlength="20">
                </div>
                <div class="form-group">
                    <i class="fa fa-lock fa-lg"></i>
                    <input class="form-control required" type="password" placeholder="密码" id="passwd" maxlength="8">
                </div>
                <div class="form-group">
                    <label class="checkbox">
                        <input type="checkbox" name="remember" value="1"/>记住我
                    </label>
                </div>
                <div class="form-group col-md-offset-9">
                    <button type="button" class="btn btn-success pull-left" name="submit">登录</button>
                    <button type="button" class="btn btn-primary pull-right" name="submit" onclick="tosign()">立即注册
                    </button>
                </div>
            </div>
        </div>

        <div class="form-horizontal col-md-offset-3 sign disnone">
            <h3 class="form-title">注册<img src="../static/dist/img/logo.jpg" alt=""></h3>
            <div class="col-md-9">
                <div class="form-group">
                    <i class="fa fa-user fa-lg"></i>
                    <input class="form-control" type="text" placeholder="用户名" id="suser" autofocus="autofocus"
                           maxlength="20">
                </div>
                <div class="form-group">
                    <i class="fa fa-lock fa-lg"></i>
                    <input class="form-control required" type="password" placeholder="密码" id="spasswd" maxlength="8">
                </div>
                <div class="form-group">
                    <i class="fa fa-lock fa-lg"></i>
                    <input class="form-control required" type="password" placeholder="再次输入密码" id="spasswdtwo"
                           maxlength="8">
                </div>
                <div class="form-group col-md-offset-9">
                    <button type="button" class="btn btn-success pull-left" name="submit" onclick="tologin()">立即登录</button>
                    <button type="button" class="btn btn-primary pull-right" name="submit">注册</button>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../static/plugins/jquery/jquery.min.js"></script>
<script src="../static/plugins/bootstrap/js/bootstrap.js"></script>
<script src="../static/dist/js/login.js"></script>
</body>

</html>